home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / psetpgrp.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Psetpgrp(2)               Oct. 1, 1991                Psetpgrp(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Psetpgrp - set the process group number for a process
  7.  
  8. SYNOPSIS
  9.      LONG Pgetpgrp(WORD pid, WORD neewgrp);
  10.  
  11. DESCRIPTION
  12.      Psetpgrp sets the process group of the process with  process
  13.      id pid to the number newgrp.  The process must have the same
  14.      user id as the current process, or must be a child  of  that
  15.      process.  If pid is 0, the process group of the current pro-
  16.      cess is set. If newgrp is 0, then the process group  is  set
  17.      equal to the process id of the process.
  18.  
  19. RETURNS
  20.      The new process group number, if successful.
  21.  
  22.      EFILNF if process pid does not exist.
  23.  
  24.      EACCDN if the process with id pid has a  different  user  id
  25.      and is not a child of the calling process.
  26.  
  27. SEE ALSO
  28.      Pkill(2), Pgetpgrp(2), Pgetpid(2)
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.